package ynu.sxp.demoapp.cart.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import ynu.sxp.demoapp.cart.entity.CartEntity;
import ynu.sxp.demoapp.product.dto.ProductRO;
import java.util.UUID;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class CartProductRO {
    @Schema(description = "购物车商品ID")
    private UUID id;
    @Schema(description = "购物车ID")
    private UUID cartId;
    @Schema(description = "商品")
    private ProductRO product;
    @Schema(description = "数量")
    private Integer quantity;
}
